<?php
namespace App\Http\Controllers\Auth;

use App\Http\Controllers\Controller;

class LoginController extends Controller
{
	public function __construct()
	{
		/**
		 * 检测是否登录
		 */
		if(Auth::check()){
			return redirect('/auth/login');
		}else{
			return redirect('/index');
		}
	}
}